package weiy.top.modules.spu.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: pms_spu_info
 * @Author: weihancheng
 * @Date: 2021-11-24
 * @Version: V1.0
 */
@Data
@TableName("pms_spu_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "pms_spu_info对象", description = "pms_spu_info")
public class PmsSpuInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * spuid
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "spuid")
    private java.lang.String id;
    /**
     * spu名称
     */
    @Excel(name = "spu名称", width = 15)
    @ApiModelProperty(value = "spu名称")
    private java.lang.String spuName;
    /**
     * spu详情
     */
    @Excel(name = "spu详情", width = 15)
    @ApiModelProperty(value = "spu详情")
    private java.lang.String spuDescription;
    /**
     * 分类id
     */
    @Excel(name = "分类id", width = 15)
    @ApiModelProperty(value = "分类id")
    private java.lang.Integer catalogId;
    /**
     * 品牌id
     */
    @Excel(name = "品牌id", width = 15)
    @ApiModelProperty(value = "品牌id")
    private java.lang.Integer brandId;
    /**
     * weight
     */
    @Excel(name = "weight", width = 15)
    @ApiModelProperty(value = "weight")
    private java.math.BigDecimal weight;
    /**
     * ?ϼ?״̬[0 - ?¼ܣ?1 - ?ϼ?]
     */
    @Excel(name = "?ϼ?״̬[0 - ?¼ܣ?1 - ?ϼ?]", width = 15)
    @ApiModelProperty(value = "?ϼ?״̬[0 - ?¼ܣ?1 - ?ϼ?]")
    private java.lang.Integer publishStatus;
    /**
     * createTime
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "createTime")
    private java.util.Date createTime;
    /**
     * updateTime
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "updateTime")
    private java.util.Date updateTime;
}
